//
//  AppModel.h
//  HGMM
//
//  Created by @HUI on 15/8/6.
//  Copyright (c) 2015年 cc. All rights reserved.
//

#import <Foundation/Foundation.h>

#import <UIKit/UIKit.h>



@interface AppModel : NSObject






@property(nonatomic,assign)BOOL isHaveUpdate;

/*
 "id": "488",
                   "icon": "/pluginFile/0e32dc4c-eeb1-404d-8bda-30ce4ba94abb.jpg",
                   "isonline": "0",
                   "name": "打卡",
                   "grade": "3",
                   "versionId": "6969",
                   "type": "综合办公2类",
                   "gradeNum": "8",
                   "version": "1.3.8",
                   "pluginflag": "hgmeap-pluginserver-daka",
                   "isCommonApp":true
 
 */

//插件列表获取到的信息
@property(nonatomic,copy)NSString *_id;
@property(nonatomic,copy)NSString *versionId;
@property(nonatomic,copy)NSString *grade;
@property(nonatomic,copy)NSString *pluginflag;
@property(nonatomic,copy)NSString *version;
@property(nonatomic,copy)NSString *type;
@property(nonatomic,copy)NSString *gradeNum;
@property(nonatomic,copy)NSString *icon;
@property(nonatomic,copy)NSString *name;
@property(nonatomic,copy)NSString *remark;
@property(nonatomic,copy)NSString *isonline;
@property(nonatomic,copy)NSString *isCommonApp;  //0为否  1为是
@property(nonatomic,copy)NSString *url;
@property(nonatomic,copy)NSString *range;  //0为署级 1为关级


@property(nonatomic,assign)BOOL isNull;
@property(nonatomic,assign)CGFloat progress;
@property(nonatomic,assign)BOOL isAddCell;





//常用应用



//更新获取的数据
// versionId
// id
//type
@property(nonatomic,copy)NSString *is_force_update;





/*
 自定义
 */

@property(nonatomic,copy)NSString*userid;
@property(nonatomic,assign)int isreceive;
@property(nonatomic,copy)NSString*pluginid;

@property(nonatomic,copy)NSString *department;

@end
